package com.wondertek.poms.core.service.impl;

import com.wondertek.poms.common.service.impl.ServiceImpl;
import com.wondertek.poms.core.service.ISecondClassifyService;
import com.wondertek.poms.dao.po.SecondClassify;
import com.wondertek.poms.dao.repo.ISecondClassifyDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenjijiang
 * @description
 */
@Service
public class SecondClassifyServiceImpl extends ServiceImpl<SecondClassify, Long> implements ISecondClassifyService {
	@Autowired
	private ISecondClassifyDao secondClassifyDao;

	@Override
	public SecondClassify deleteLogic(Long id) {
		return null;
	}

	@Override
	public SecondClassify merge(SecondClassify model) {
		return null;
	}

	@Override
	public List<SecondClassify> findAllByContentId(String contentId) {
		return secondClassifyDao.findAllByContentId(contentId);
	}

	@Override
	public void deleteByContentId(String contentId) {
		secondClassifyDao.deleteByContentId(contentId);
	}
}
